package utils

import "regexp"

var regexNumber = regexp.MustCompile(`^[0-9]+$`)
var regexTimestampMS = regexp.MustCompile(`^1[0-9]{12}$`)

func IsNumber(str string) bool {
	return regexNumber.MatchString(str)
}

func IsTimestampMS(str string) bool {
	return regexTimestampMS.MatchString(str)
}
